package org.desktop.web.client.user;

import java.util.List;
import java.util.Map;

import org.desktop.web.shared.domain.entities.SubProject;
import org.desktop.web.shared.domain.entities.User;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.sencha.gxt.data.shared.loader.PagingLoadConfig;
import com.sencha.gxt.data.shared.loader.PagingLoadResult;

public interface UserServiceAsync {

	void getUsers(Map<String,String> headers,PagingLoadConfig loadConfig,AsyncCallback<PagingLoadResult<User>> callback);

	void hasSubProjects(List<SubProject> subprojects,
			AsyncCallback<Boolean> asyncCallback);

//	void addUserToProject(User user, Project project,
//			AsyncCallback<Boolean> asyncCallback);

}
